package com.balance.anole.client.retail.dao;

import java.util.List;

import com.balance.anole.admin.to.ShopTO;
import com.balance.anole.business.to.BusinessDateTO;
import com.balance.anole.business.to.ShopReceiptTO;


public interface ShopRetailDAO {
	public ShopReceiptTO updateReceiptToBeHeld(ShopReceiptTO receipt);

	public ShopReceiptTO updateReceiptToBeReleased(ShopReceiptTO receipt);

	public void deleteReceipt(ShopReceiptTO receipt);

	public List<ShopReceiptTO> getListOfHeldReceiptForAgent(String agentId);

	public List<ShopReceiptTO> getReceiptByReceiptNum(String receiptNum);

	public void insertOrUpdateRetailRecord(ShopReceiptTO receipt);

	public String getNewReceiptNumOfShop(ShopTO shopTO, BusinessDateTO businessDate);

	List<ShopReceiptTO> getShopReceipts4Upload(ShopTO shopTO, BusinessDateTO bizDt,
			Integer batchSize);
}
